package com.woniuxy.house.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.entity.house.Comments;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liangyu
 * @since 2021-03-19
 */
public interface CommentsService extends IService<Comments> {

    //根据楼盘查询评论
    public Page<Comments> findByBid(int id, int current, int size);
    //删除评论
    public boolean deleteComments(int id);
    //新增评论
    public boolean insertComments(Comments comments);
}
